<?php


namespace app\controller;

use tpScriptVueCurd\base\model\BaseModel;
use tpScriptVueCurd\option\FunControllerListChildBtn;

class Pets extends \app\BaseController
{
    use \tpScriptVueCurd\base\controller\BaseChildController;

    public static function getTitle(): string
    {
        return '宠物';
    }
    public static function parentControllerClassPath(): string
    {
        return User::class;
    }
    public static function modelClassPath(): string
    {
        return \app\model\Pets::class;
    }
    public static function baseListBtnText(FunControllerListChildBtn $btn, BaseModel $info): void
    {
        $btn->text='所有宠物';
    }
}